//
//  NSDictionary+QYDecription.m
//  ShareViewDemo
//
//  Created by Dxc_iOS on 2018/7/19.
//  Copyright © 2018年 代星创. All rights reserved.
//

#import "NSDictionary+QYDecription.h"

@implementation NSDictionary (QYDecription)
- (NSString *)qy_descriptionWithLocale:(id)locale{
    
    NSArray *allKeys = [self allKeys];
    
    NSMutableString *str = [[NSMutableString alloc] initWithFormat:@"{\t\n "];
    
    for (NSString *key in allKeys) {
        
        id value= self[key];
        
        [str appendFormat:@"\t \"%@\" = %@,\n",key, value];
        
    }
    
    [str appendString:@"}"];
    
    
    
    return str;
    
}
@end
